<template>
  <view class="info">
    <view class="info_left">
      <view class="info_left_top">
        <view class="name">{{name}}</view>
        <view class="sex">
          <image src="/static/images/girl.png" class="icon_girl"></image>
        </view>

      </view>
      <view class='info_left_bottom'>
        <view class="age">{{age}}岁</view>
        <view class="id_code">ID {{ownerId}}</view>
      </view>
    </view>
  </view>
</template>

<script>
    export default {
      props: ['name','age', 'ownerId']
    }
</script>

<style scoped>
  /*基本信息区  */

   .info {
    width: 100%;
    height: 148rpx;
    border-bottom: 1rpx solid #f3f3f3;
  }

  .info_left {
    width: 612rpx;
    height: 148rpx;
    float: left;
    padding-left: 40rpx;
    box-sizing: border-box;
  }

  .info_left_top {
    height: 66rpx;
  }

  .name {
    margin-top: 22rpx;
    height: 44rpx;
    font-size: 36rpx;
    color: #333;
    margin-right: 20rpx;
    float: left;
  }

  .sex {
    margin-top: 22rpx;
    height: 26rpx;
    float: left;
    margin-right: 32rpx;
  }

  .icon_girl {
    width: 30rpx;
    height: 30rpx;
  }

  .info_left_bottom {
    height: 41rpx;
  }

  /*年龄和职业的样式  */

  .age, .id_code {
    font-size: 28rpx;
    color: #333;
    margin-top: 18rpx;
    height: 40rpx;
    float: left;
  }

  .age {
    margin-right: 20rpx;
  }

</style>
